package com.cloudweb.oa.mapper;

import com.cloudweb.oa.entity.OaMessageDept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author fgf
 * @since 2024-05-31
 */
public interface OaMessageDeptMapper extends BaseMapper<OaMessageDept> {

    @Select("select * from oa_message_dept where dept_code=#{deptCode}")
    OaMessageDept getByDeptCode(String deptCode);
}
